<script setup>
  import SearchBar from '@/components/common/SearchBar.vue';

  const searchOption = [
    { key: 'name', label: '姓名', type: 'input', defaultValue: 'xxx' },
    {
      key: 'sex',
      label: '性别',
      type: 'select',
      options: [
        { label: '男', value: '1' },
        { label: '女', value: '2' },
      ],
    },
    // { key: 'testCustom', label: '自定义', type: 'custom', component: CustomComponent },
  ];
</script>

<template>
  <div>
    <SearchBar :searchOption="searchOption"></SearchBar>
  </div>
</template>

<style scoped></style>
